//index.js
const app = getApp()

Page({
  data: {
    imgUrls: [
      '/images/king.jpg',
      '/images/Ming.jpg',
      '/images/wu.jpg'
    ],
    indicatorDots: false,
    autoplay: false,
    interval: 5000,
    duration: 1000,
    avatarUrl: './user-unlogin.png',
    userInfo: {},
    logged: false,
    takeSession: false,
    requestResult: '',
    proList:[
      {
        logo: '/images/Cu.jpg',
        title: '精选铜矿',
        desc: '良心高品位铜矿，欢迎购买'
      },
      {
        logo: '/images/Cu.jpg',
        title: '精选铜矿',
        desc: '良心高品位铜矿，欢迎购买'
      },
      {
        logo: '/images/Cu.jpg',
        title: '精选铜矿',
        desc: '良心高品位铜矿，欢迎购买'
      }
    ]
  },

  onLoad: function() {
    this.setData({
      text:'01',
    })
  },

  toDetail:function(options){
    console.log(options);
      wx.navigateTo({
        url: '/pages/detail/detail?options='+options,
      })
  }

})
